unit ufrmKernel_Pesquisa_Notas;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, UfrmKernel_Base, cxStyles, dxSkinsCore, dxSkinBlack, dxSkinBlue,
  dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinFoggy,
  dxSkinGlassOceans, dxSkiniMaginary, dxSkinLilian, dxSkinLiquidSky,
  dxSkinLondonLiquidSky, dxSkinMcSkin, dxSkinMoneyTwins, dxSkinOffice2007Black,
  dxSkinOffice2007Blue, dxSkinOffice2007Green, dxSkinOffice2007Pink,
  dxSkinOffice2007Silver, dxSkinPumpkin, dxSkinSeven, dxSkinSharp, dxSkinSilver,
  dxSkinSpringTime, dxSkinStardust, dxSkinSummer2008, dxSkinsDefaultPainters,
  dxSkinValentine, dxSkinXmas2008Blue, dxSkinscxPCPainter, cxCustomData,
  cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, ImgList,
  ActnList, cxGridLevel, cxClasses, cxControls, cxGridCustomView,
  cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxGrid, RzStatus,
  RzPanel, RzButton, dxGDIPlusClasses, ExtCtrls, StdCtrls, cxPC, pngextra,
  cxContainer, cxTextEdit, cxMaskEdit, cxDropDownEdit, RzRadChk, ComCtrls,
  JvExComCtrls, JvDateTimePicker, cxLookAndFeels, cxLookAndFeelPainters;

type
  TfrmKernel_Pesquisa_Notas = class(TfrmKernel_Base)
    pnlTitulo: TRzPanel;
    lblSubtitulo: TLabel;
    lblTitulo: TLabel;
    imgCadBase: TImage;
    RzToolbar1: TRzToolbar;
    btnFiltrar: TRzToolButton;
    RzSpacer1: TRzSpacer;
    btnFechar: TRzToolButton;
    pnlFiltros: TRzPanel;
    rzstsbrbase: TRzStatusBar;
    RzStatusPane1: TRzStatusPane;
    actlstPesquisa: TActionList;
    actFiltrar: TAction;
    actFechar: TAction;
    dsPesquisa: TDataSource;
    ilPesquisa: TImageList;
    ilUser: TImageList;
    actlstUser: TActionList;
    pgcntrlNotas: TcxPageControl;
    tbshtOrcamentos: TcxTabSheet;
    tbshtPreVendas: TcxTabSheet;
    tbshtConfirmadas: TcxTabSheet;
    tbshtCanceladas: TcxTabSheet;
    cxgrdOrcamentos: TcxGrid;
    grdbtblvwPesquisa: TcxGridDBTableView;
    grdlvlPesquisa: TcxGridLevel;
    pnlTipo_Orcamentos: TRzPanel;
    Label12: TLabel;
    tlbrOrcamentos: TRzToolbar;
    RzToolButton1: TRzToolButton;
    RzToolButton2: TRzToolButton;
    actItens: TAction;
    actPagamentos: TAction;
    tlbrPreVenda: TRzToolbar;
    RzToolButton3: TRzToolButton;
    RzToolButton4: TRzToolButton;
    cxgrdPreVendas: TcxGrid;
    cxGridDBTableView1: TcxGridDBTableView;
    cxGridLevel1: TcxGridLevel;
    tlbrConfirmadas: TRzToolbar;
    RzToolButton5: TRzToolButton;
    RzToolButton6: TRzToolButton;
    cxgrdConfirmadas: TcxGrid;
    cxGridDBTableView2: TcxGridDBTableView;
    cxGridLevel2: TcxGridLevel;
    pnlpnlTipo_Confirmadas: TRzPanel;
    Label2: TLabel;
    tlbrCanceladas: TRzToolbar;
    RzToolButton7: TRzToolButton;
    RzToolButton8: TRzToolButton;
    cxgrdCanceladas: TcxGrid;
    cxGridDBTableView3: TcxGridDBTableView;
    cxGridLevel3: TcxGridLevel;
    pnlpnlTipo_canceladas: TRzPanel;
    Label3: TLabel;
    cbbOrcamentos: TcxComboBox;
    pnlpnlTipo_PreVenda: TRzPanel;
    Label1: TLabel;
    cxComboBox1: TcxComboBox;
    cxComboBox2: TcxComboBox;
    cxComboBox3: TcxComboBox;
    actRecuperar_orcamento: TAction;
    RzToolButton9: TRzToolButton;
    edtCodPedido: TEdit;
    Label5: TLabel;
    RzGroupBox1: TRzGroupBox;
    edtppfimmov: TJvDateTimePicker;
    Label4: TLabel;
    edtppinimov: TJvDateTimePicker;
    RzCheckBox1: TRzCheckBox;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmKernel_Pesquisa_Notas: TfrmKernel_Pesquisa_Notas;

implementation

uses UKernel_DB;


{$R *.dfm}

procedure TfrmKernel_Pesquisa_Notas.FormShow(Sender: TObject);
begin
  inherited;
  pgcntrlNotas.ActivePageIndex := 0;

  edtppinimov.Date := Kernel_Data_Servidor;
  edtppfimmov.Date := Kernel_Data_Servidor;
end;

end.
